
var inter = null;

$(function(){
	
	changeYJF();
	
	$("#shop_right select").bind("change", function(){
		
		changeYJF();
	});
	
	getLastedInfo();
	
	inter = setInterval(getLastedInfo,300000);
		
});

function getLastedInfo(){
	$.ajax({
		
		url : "/xinlu/user/userLoginAction.html",
		type : "post",
		data:{
			pageId : "userLogin",
			doAction:"getLastedInfo"
		
		},
		error : function(error){
			
			alert('网络发生异常,请重试.....');
		},
		success : function(data){
			
			if(data != null && data != '' && data != 'null'){
				
				$("#yues").text(data);
			}
		}
	});
}

function changeYJF(){
	
	var xl = $("#shop_right select option:selected").val();
//	if(xl == '1900'){
//		
//		$("#btxishudhid ul li:nth-child(3)").css("display","none");
//	}else{
//		$("#btxishudhid ul li:nth-child(3)").css("display","block");
//	}
}